package ScoreUI;

import javax.swing.JPanel;

import vo.StudentVO;

public class StudentScorePanel extends JPanel
{
	ScoreDetail sd;
	private CreditUI cu;

	public StudentScorePanel(StudentVO user)
	{
		super();
		setLayout(null);
		setSize(1280, 725 * 4 / 5);
		setVisible(true);
		setOpaque(false);
		sd = new ScoreDetail(user.ID);
		sd.changeVisible(false);
		sd.setBounds(400, 0, 720, 580);
		add(sd);
		sd.setVisible(true);

		cu=new CreditUI(user);
		cu.setLocation(100, 50);
		this.add(cu);
		repaint();
	}
}
